<?php echo $header; ?>
<div id="content">
    <div class="breadcrumb">
        <?php echo $this->breadCrumbs(); ?>
    </div>
    <?php if (isset($error_warning)) { ?>
    <div class="warning"><?php echo $error_warning; ?></div>
    <?php } ?>
    <div class="box">
        <div class="heading">
            <h1><img src="view/image/payment.png" alt="" /> <?php echo $_['heading_title']; ?></h1>
            <div class="buttons">
                <a onclick="$('#form').submit();" class="button"><?php echo $_['button_insert']; ?></a>
                <a href="<?php echo UA('sale/rechargeablecard'); ?>" class="button"><?php echo $_['button_cancel']; ?></a></div>
        </div>

        <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="form">
            <div id="tab-general">
                <table class="form">

                    <tr>
                        <td><span class="required">*</span> <?php echo $_['rechargeablecard_count']  ; ?></td>
                        <td><input type="text" name="cardCount" value="<?php echo $cardCount; ?>" />
                            <?php if (isset($error_cardCount)) { ?>
                            <span class="error"><?php echo $error_cardCount; ?></span>
                            <?php } ?></td>
                    </tr>


                    <tr>
                        <td><span class="required">*</span> <?php echo $_['rechargeablecard_amount'] ; ?></td>
                        <td><input type="text" name="cardAmount" value="<?php echo $cardAmount; ?>" />
                            <?php if (isset($error_cardAmount)) { ?>
                            <span class="error"><?php echo $error_cardAmount; ?></span>
                            <?php } ?></td>
                    </tr>

                </table>
            </div>
        </form>
    </div>
</div>
</div>


<script type="text/javascript"><!--
    $('#tabs a').tabs();
    //--></script>
<?php echo $footer; ?>